QT      += core gui network sql qml quick concurrent  widgets  xml
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin

DESTDIR = ../../../dist/plugins
TARGET  = sailmipim_plugin_calendar

TEMPLATE = lib
DEFINES += _HAS_DEPRECATED_RESULT_OF ENABLE_SYNC
INCLUDEPATH += d:/devlibs/boost-1.86.0 \
               ../../interfaces               \
               ../../util/sailmipim_util_core     \
               ../../util/sailmipim_util_tags     \
               ../../util/sailmipim_util_sys     \
               ../../util/sailmipim_util_gui     \
               ../../util/sailmipim_util_models     \
               ../../util/sailmipim_util_sll     \
               ../../util/sailmipim_util_xpc     \
               ../../xsd                 \

LIBS += -LD:/Devlibs/boost-1.86.0/stage/lib \
        -L../../../dist             \
        -lsailmipim_util_core              \
        -lsailmipim_util_sys              \
        -lsailmipim_util_tags              \
        -lsailmipim_util_gui               \
        -lsailmipim_util_models            \
        -lsailmipim_util_sll               \
        -lsailmipim_util_xpc               \
        -lsailmipim_xsd                    \
        -lboost_serialization-vc142-mt-x64-1_86    \

CONFIG += file_copies
res.files = $$PWD/resources
set.files = $$PWD/settings
res.path = $$DESTDIR/../
set.path = $$DESTDIR/../
COPIES += res set

FORMS += \
    src/addtododialog.ui \
    src/editcommentdialog.ui \
    src/editdatedialog.ui \
    src/todotab.ui

DISTFILES += \
    resources/share/global_icons/plugins/default/calendar.svg \
    resources/share/global_icons/plugins/default/calendar.svg \
    settings/sailmipim_calendar_settings.xml

TRANSLATIONS += \
    resources/locales/sailmipim_calendar_en.ts \
    src/sailmipim_calendar_en.ts \
    src/sailmipim_calendar_en.ts \
    src/sailmipim_calendar_ru_RU.ts

HEADERS += \
    src/addtododialog.h \
    src/calendar.h \
    src/core.h \
    src/editcommentdialog.h \
    src/editdatedialog.h \
    src/icalgenerator.h \
    src/icalparser.h \
    src/notificationsmanager.h \
    src/storagemodel.h \
    src/todoitem.h \
    src/todolistdelegate.h \
    src/todomanager.h \
    src/todosfproxymodel.h \
    src/todostorage.h \
    src/todotab.h \
    src/xmlsettingsmanager.h

SOURCES += \
    src/addtododialog.cpp \
    src/calendar.cpp \
    src/core.cpp \
    src/editcommentdialog.cpp \
    src/editdatedialog.cpp \
    src/icalgenerator.cpp \
    src/icalparser.cpp \
    src/notificationsmanager.cpp \
    src/storagemodel.cpp \
    src/todoitem.cpp \
    src/todolistdelegate.cpp \
    src/todomanager.cpp \
    src/todosfproxymodel.cpp \
    src/todostorage.cpp \
    src/todotab.cpp








